#include <iostream>
#include <string>
using std::cout;
using std::endl;
using std::string;

void test(){
    int number = 10;
    int* pInt = new int(20);

    string str1("hello");
    string str2("helloworld");
    string str3("helloworldhelloworldhelloword");
    cout << "&str1=" << (void*)str1.c_str() << endl;
    cout << "&str2=" << (void*)str2.c_str() << endl;
    cout << "&str3=" << (void*)str3.c_str() << endl;
    cout << "&number=" << &number << endl;
    cout << "&pInt=" << pInt << endl;
    delete pInt;
}

int main()
{
    test();
    return 0;
}

